package com.gxc.mall.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author GongXincheng
 * @since 2019-09-04 11:49
 */
@AllArgsConstructor
public enum JwtEnum {

    /**
     * token前缀
     */
    TOKEN_PREFIX("Bearer ", "token前缀"),

    /**
     * Header中的key
     */
    TOKEN_HEADER("Authorization", "Header中的key"),

    /**
     * 请求url中的token
     */
    PARAM_TOKEN("access_token", "请求url中的token"),

    /**
     * 盐.
     */
    TOKEN_SALT("35229f8612b462e2509bad70e27242a9", "盐");

    @Getter
    private String code;

    @Getter
    private String desc;

}
